﻿<?xml version="1.0" encoding="utf-8" ?>
<log4net>
  <appender name="LogFile" type="log4net.Appender.RollingFileAppender,log4net" >
    <param name="File" value="Logs\\" />
    <param name="AppendToFile" value="true" />
    <param name="RollingStyle" value="Date" />
    <param name="DatePattern" value="yyyy-MM-dd-HH&quot;.log&quot;" />
    <param name="StaticLogFileName" value="false" />

    <layout type="log4net.Layout.PatternLayout,log4net">
      <param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
      <param name="Header" value="&#13;&#10;----------------------header--------------------------&#13;&#10;" />
      <param name="Footer" value="&#13;&#10;----------------------footer--------------------------&#13;&#10;" />
    </layout>
  </appender>

  <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender,log4net" >
    <layout type="log4net.Layout.PatternLayout">
      <param name="ConversionPattern" value="%d %m%n" />
    </layout>
  </appender>

  <appender name="EventLogAppender" type="log4net.Appender.EventLogAppender,log4net" >
    <layout type="log4net.Layout.PatternLayout">
      <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n" />
    </layout>
  </appender>
  
  <appender name="FireEventAppender" type="log4net.Appender.FireEventAppender,ShootSearch" >
  </appender>
  

  <root>
    <level value="All" />
    <appender-ref ref="LogFile" />
    <appender-ref ref="ConsoleAppender" />
    <appender-ref ref="FireEventAppender" />

  </root>
</log4net>